<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
namespace Common\Logic;
use Common\Model\UserModel;
/**
 * base基类控制器
 */
class UserLogic extends BaseLogic {
    
    private $userModel;
    /**
     * 初始化方法
     */
    public function __construct() {
        parent::__construct();
        $this->userModel = new UserModel();
    }
    
    /**
     * 添加用户
     * @param type $mobile 手机号
     * @param type $userpwd 用户密码
     * 
     */
    public function addUser($mobile,$userpwd){
        
        return $this->userModel->addUserList($mobile,$userpwd);
    }
    
    
   
    

}

